package com.atguigu.gmall.common.config.pool.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "app.thread.pool")
public class ThreadProperties {
    private int coreSize = 4; //核心大小
    private int maxSize = 8; //最大大小
    private int queueSize = 1000; //队列长度
    private long keepAliveTime = 5; //存活时间 //分钟为单位
}
